package com.chaopei.myexception;

import java.sql.SQLException;

/**
 * @Author Corday 天涯
 * @Date 2022/3/9 11:37
 */
public class MySqlException extends SQLException {
    private  String msg;
    public MySqlException(String msg){
        super(msg);
    }
    public  String getMsg(){
        return "数据库是："+msg;
    }
}
